package com.mapper;

import com.pojo.Strangecar;

import java.util.List;

public interface StrangecarMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Strangecar record);

    int insertSelective(Strangecar record);

    Strangecar selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Strangecar record);

    int updateByPrimaryKey(Strangecar record);
    /***
     * 添加陌生车辆表
     * @param strangecar
     * @return
     */
    public int addStrangeCar(Strangecar strangecar);

    /***
     * 查询所有陌生车
     * @return
     */
    public List<Strangecar> selectAllStrangeCar();

    /***
     * 根据id删除陌生车辆
     * @param id
     * @return
     */
    public int deleteStrangeCarById(Integer id);
}